jquery check if parent has 2 chlds

119

jquery check if parent has 2 chlds -

if ( $('#myfav').children().length > 0 ) {
     // do something
}

Comments

Submit
0 Comments